
		<form class="frm1" id="form" action="<?php echo base_url($lang_url).(empty($lang_url) ? '' : '/'); ?>panel/<?php echo $controller.$method.$id.$idh; ?>" method="POST" enctype="multipart/form-data">
			
			<p class="small">
				<label for="languaje"><?php echo lang('txt_films_form_languaje'); ?><span id="tip" class="tipform" title="<?php echo 'Idioma del Episodio%'.lang('txt_tip_form_languaje') ?>"> [ ? ] </span></label>
				<input type="text" id="languaje" class="sizeSmall" name="languaje" value="<?php echo $languaje;?>" placeholder="<?php echo lang('txt_films_form_languaje'); ?>" maxlength="20"/>
			</p>
			<p class="small margin-l">
				<label for="subtitles"><?php echo lang('txt_films_form_subtitle'); ?><span id="tip" class="tipform" title="<?php echo 'Subtitulos del Episodio%'.lang('txt_tip_form_subtitles') ?>"> [ ? ] </span></label>
				<input type="text" id="subtitles" class="sizeSmall" name="subtitles" value="<?php echo $subtitles;?>" placeholder="<?php echo lang('txt_films_form_subtitle'); ?>" maxlength="20"/>
			</p>
			<p class="small margin-l">
				<label for="format_episode"><?php echo lang('txt_films_form_format_film'); ?><span id="tip" class="tipform" title="<?php echo 'Formato del Episodio%'.lang('txt_tip_form_format') ?>"> [ ? ] </span></label>
				<input type="text" id="format_episode" class="sizeSmall" name="format_episode" value="<?php echo $format_episode;?>" placeholder="<?php echo lang('txt_films_form_format_film'); ?>" maxlength="10"/>
			</p>
			<div class="clear"></div>
			<p class="small">
				<label for="duration"><?php echo lang('txt_films_form_duration'); ?><span id="tip" class="tipform" title="<?php echo 'Duracion del Episodio%'.lang('txt_tip_form_duration') ?>"> [ ? ] </span></label>
				<input type="text" id="duration" class="sizeSmall" name="duration" value="<?php echo $duration;?>" placeholder="<?php echo lang('txt_films_form_duration'); ?>" maxlength="30"/>
			</p>
		 	<p class="small margin-l">
				<label for="size"><?php echo lang('txt_films_form_size'); ?><span id="tip" class="tipform" title="<?php echo 'Tamaño de la Pelicula%'.lang('txt_tip_form_size') ?>"> [ ? ] </span></label>
				<input type="text" id="size" class="sizeSmall" name="size" value="<?php echo $size;?>" placeholder="<?php echo lang('txt_films_form_size'); ?>" maxlength="20"/>
			</p>	
			<p class="small margin-l">
				<label for="quality"><?php echo lang('txt_films_form_quality'); ?><span id="tip" class="tipform" title="<?php echo 'Ripeo del Episodio%'.lang('txt_tip_form_quality') ?>"> [ ? ] </span></label>
				<select name="quality" class="select float-l" id="quality">
					<option value=""><?php echo '--------------' ?></option>
					<?php foreach ($categories as $itm) { ?>
						<option value="<?php echo $itm['id_categoria'] ?>" <?php echo ($quality===$itm['id_categoria']) ? 'selected': ''; ?>><?php echo $itm['nombre'] ?></option>
					<?php } ?>
				</select>
			</p>
					
			<div class="clear"></div>
			<!-- SERVERS/URLs -->
			<p>
				<fieldset class="fs-size-big float-l">
					<legend><?php echo lang('txt_films_form_servers_urls'); ?></legend>
					<div>
						<p>
							<span id="tip" class="tipform" title="<?php echo ''.lang('txt_tip_form_tipo') ?>"> [ ? ] </span>
							<select name="sel-servers[]" class="select float-r" id="sel-servs">
								<option value="">------------------</option>
								<?php foreach ($servers as $itm) { ?>
									<option value="<?php echo $itm['id_servidor'] ?>"<?php echo ($itm['id_servidor']==$server) ? 'selected' : '' ; ?>><?php echo $itm['nombre'] ?></option>
								<?php } ?>
							</select>
							<div class="clear"></div>
						</p>
						<div class="clear"></div>					
					</div>		 
					<div>
						<?php if ($usr_info['tipo'] !== 'admin' || ($usr_info['tipo'] === 'admin' && $method === 'update_episode/') ) {?>
							<label for="url_torrent"><?php echo  'URL|'.lang('txt_form_link_torrent') ?><span id="tip" style="margin-right:83px;" class="tipform" title="<?php echo 'URL Archivo%'.lang('txt_tip_form_torrent') ?>"> [ ? ] </span></label>
							<input type="text" class="size80" name="url_torrent[]" value="<?php echo $url_file; ?>" placeholder="<?php echo 'URL|'.lang('txt_form_link_torrent'); ?>" maxlength="150"/>
							<label for="url_subtitle"><?php echo 'URL|'.lang('txt_form_link_sub') ?><span id="tip" style="margin-right:83px;" class="tipform" title="<?php echo 'URL Subtitulos%'.lang('txt_tip_form_subtitles') ?>"> [ ? ] </span></label>
							<input type="text" class="size80" name="url_subtitle[]" value="<?php echo $url_subtitle; ?>" placeholder="<?php echo 'URL|'.lang('txt_form_link_sub'); ?>" maxlength="200"/>
						<?php }else{ ?>
							<label for="multilink">Multi links</label>
							<textarea id="multilink" cols="1" rows="5" style="width: 539px;"></textarea>
							<input type="button" id="bmultilink" value="Generar">
							<div id="links-fields"></div>
						<?php } ?>
					</div>
				</fieldset>
			</p>
					
			<div class="clear"></div>
